<template>
  <div class="title">
    <div class="name">
      <!-- <img src="@/assets/common/common-title.png"> -->
      <p>{{ title }}</p>
    </div>
    <img class="line" src="@/assets/pic/common-line.png">
  </div>
</template>
<script>
export default {
  props: ['title']
}
</script>
<style lang="scss" scoped>
.title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 0.5rem;
  background: url('~@/assets/pic/common-box.png') no-repeat;
  background-size: 100% 100%;
  .name {
    display: flex;
    align-items: center;
    margin-left: 0.2rem;
    p {
      font-size: 0.2rem;
      color: #44BEFF;
      letter-spacing: 0.02rem;
    }
  }
  .line {
    height: 0.4rem;
    margin-right: 0.15rem;
  }
}
</style>
